<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>书籍展示</title>
</head>
<body>
    <form th:action="@{/#}" method="get">
        <input type="text" name="likeName"/>
        <input type="submit" value="查询">
    </form>
    <table>
        <tr>
            <td>id</td>
            <td>name</td>
            <td>sex</td>
            <td>age</td>
            <td><a th:href="@{/#}">新增</a></td>
        </tr>
        <tr th:each="tang,stat:${tangs}">
            <td><a th:text="${tang.id}"  th:href="@{/#}">id</a></td>
            <td th:text="${tang.name}">name</td>
            <td th:text="${tang.sex}">sex</td>
            <td th:text="${tang.age}">age</td>
            <td>
                <a th:href="@{/#}">删除</a>
            </td>
        </tr>
    </table>
    <input type="button" value="首 页"/>
    <input type="button" value="上一页"/>
    <input type="button" value="下一页"/>
    <input type="button" value="尾 页"/>
</body>
</html>
